BatchModifyMessagesRequest.fromJson constructor

BatchModifyMessagesRequest.fromJson(
  1. Map json_
)

Implementation

BatchModifyMessagesRequest.fromJson(core.Map json_)
    : this(
        addLabelIds: json_.containsKey('addLabelIds')
            ? (json_['addLabelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        ids: json_.containsKey('ids')
            ? (json_['ids'] 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,
      );