FileComment.fromJson constructor
FileComment.fromJson(
- Map json_
Implementation
FileComment.fromJson(core.Map json_)
: this(
legacyCommentId: json_.containsKey('legacyCommentId')
? json_['legacyCommentId'] as core.String
: null,
legacyDiscussionId: json_.containsKey('legacyDiscussionId')
? json_['legacyDiscussionId'] as core.String
: null,
linkToDiscussion: json_.containsKey('linkToDiscussion')
? json_['linkToDiscussion'] as core.String
: null,
parent: json_.containsKey('parent')
? DriveItem.fromJson(
json_['parent'] as core.Map<core.String, core.dynamic>)
: null,
);