HistoryLabelAdded.fromJson constructor

HistoryLabelAdded.fromJson(
  1. Map json_
)

Implementation

HistoryLabelAdded.fromJson(core.Map json_)
    : this(
        labelIds: json_.containsKey('labelIds')
            ? (json_['labelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        message: json_.containsKey('message')
            ? Message.fromJson(
                json_['message'] as core.Map<core.String, core.dynamic>)
            : null,
      );