Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

dart async function

void main() {
  Future<int> example() async {
    await 1;
    return 0;
   }
  
  // Future<T> function_name() async { await 1; return 0; }
}
 
PREVIOUS NEXT
Tagged: #dart #async #function
ADD COMMENT
Topic
Name
2+2 =