NamedProperty.fromJson constructor

NamedProperty.fromJson(
  1. Map json_
)

Implementation

NamedProperty.fromJson(core.Map json_)
    : this(
        booleanValue: json_.containsKey('booleanValue')
            ? json_['booleanValue'] as core.bool
            : null,
        dateValues: json_.containsKey('dateValues')
            ? DateValues.fromJson(
                json_['dateValues'] as core.Map<core.String, core.dynamic>)
            : null,
        doubleValues: json_.containsKey('doubleValues')
            ? DoubleValues.fromJson(
                json_['doubleValues'] as core.Map<core.String, core.dynamic>)
            : null,
        enumValues: json_.containsKey('enumValues')
            ? EnumValues.fromJson(
                json_['enumValues'] as core.Map<core.String, core.dynamic>)
            : null,
        htmlValues: json_.containsKey('htmlValues')
            ? HtmlValues.fromJson(
                json_['htmlValues'] as core.Map<core.String, core.dynamic>)
            : null,
        integerValues: json_.containsKey('integerValues')
            ? IntegerValues.fromJson(
                json_['integerValues'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        objectValues: json_.containsKey('objectValues')
            ? ObjectValues.fromJson(
                json_['objectValues'] as core.Map<core.String, core.dynamic>)
            : null,
        textValues: json_.containsKey('textValues')
            ? TextValues.fromJson(
                json_['textValues'] as core.Map<core.String, core.dynamic>)
            : null,
        timestampValues: json_.containsKey('timestampValues')
            ? TimestampValues.fromJson(json_['timestampValues']
                as core.Map<core.String, core.dynamic>)
            : null,
      );