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,
        noteId: _json.containsKey('noteId')
            ? _json['noteId'] as core.String
            : null,
        proposalRevision: _json.containsKey('proposalRevision')
            ? _json['proposalRevision'] as core.String
            : null,
      );