Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

return map dart

Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();

    data['id'] = this.id;
    data['userId'] = this.userId;

    return data;
 }
 
PREVIOUS NEXT
Tagged: #return #map #dart
ADD COMMENT
Topic
Name
8+5 =