Reply.fromJson constructor
Reply.fromJson(
- Map json_
Implementation
Reply.fromJson(core.Map json_)
: this(
action: json_.containsKey('action')
? json_['action'] as core.String
: null,
author: json_.containsKey('author')
? User.fromJson(
json_['author'] as core.Map<core.String, core.dynamic>)
: null,
content: json_.containsKey('content')
? json_['content'] as core.String
: null,
createdTime: json_.containsKey('createdTime')
? core.DateTime.parse(json_['createdTime'] as core.String)
: null,
deleted: json_.containsKey('deleted')
? json_['deleted'] as core.bool
: null,
htmlContent: json_.containsKey('htmlContent')
? json_['htmlContent'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
modifiedTime: json_.containsKey('modifiedTime')
? core.DateTime.parse(json_['modifiedTime'] as core.String)
: null,
);