toJson method
Map<String, dynamic> toJson ()
<p>Convert dart object to json.</p> <p><strong>params</strong>: None</p> <p><strong>returns</strong>:</p> <ul> <li><code>Map<String, dynamic></code>: json is returned.</li> </ul>
Implementation
Map\<String, dynamic\> toJson() \{
final Map\<String, dynamic\> data = \<String, dynamic\>\{\};
data['_id'] = this.sId;
return data;
\}