Skip to main content

Comments.fromJson constructor

Comments.fromJson(Map<String, dynamic> json)

<p>Convert json to dart object.</p> <p>params: None returns:</p> <ul> <li><code>Map<String, dynamic></code>: Dart object is returned.</li> </ul>

Implementation

Comments.fromJson(Map\<String, dynamic\> json) \{
sId = json['_id'] as String?;
\}