FileComment.fromJson constructor

FileComment.fromJson(
  1. Map json_
)

Implementation

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