LabelDescriptor.fromJson constructor

LabelDescriptor.fromJson(
  1. Map json_
)

Implementation

LabelDescriptor.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        valueType: json_.containsKey('valueType')
            ? json_['valueType'] as core.String
            : null,
      );