Note.fromJson constructor

Note.fromJson(
  1. Map json_
)

Implementation

Note.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        creatorRole: json_.containsKey('creatorRole')
            ? json_['creatorRole'] as core.String
            : null,
        note: json_.containsKey('note') ? json_['note'] as core.String : null,
      );