ModifyLabelsRequest.fromJson constructor

ModifyLabelsRequest.fromJson(
  1. Map json_
)

Implementation

ModifyLabelsRequest.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        labelModifications: json_.containsKey('labelModifications')
            ? (json_['labelModifications'] as core.List)
                .map((value) => LabelModification.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );