ModifyMessageRequest.fromJson constructor

ModifyMessageRequest.fromJson(
  1. Map json_
)

Implementation

ModifyMessageRequest.fromJson(core.Map json_)
    : this(
        addLabelIds: json_.containsKey('addLabelIds')
            ? (json_['addLabelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        removeLabelIds: json_.containsKey('removeLabelIds')
            ? (json_['removeLabelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );