ModifyThreadRequest.fromJson constructor

ModifyThreadRequest.fromJson(
  1. Map json_
)

Implementation

ModifyThreadRequest.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,
      );