AppliedLabelChangeDetail.fromJson constructor

AppliedLabelChangeDetail.fromJson(
  1. Map json_
)

Implementation

AppliedLabelChangeDetail.fromJson(core.Map json_)
    : this(
        fieldChanges: json_.containsKey('fieldChanges')
            ? (json_['fieldChanges'] as core.List)
                .map((value) => FieldValueChange.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        label:
            json_.containsKey('label') ? json_['label'] as core.String : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        types: json_.containsKey('types')
            ? (json_['types'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );