reading documentation/lsp info
When looking up dart documentation, you might come across code like above. It
gives you core info about the Future.delayed function :
- The function is
Future.delayed - It returns a
Future<String>value - It needs (compulsory) a value of type
Durationto be passed to it. - Opitionally, you can pass to it a function that returns a
FutureOr<String>.