NestedParameter.fromJson constructor

NestedParameter.fromJson(
  1. Map json_
)

Implementation

NestedParameter.fromJson(core.Map json_)
    : this(
        boolValue: json_.containsKey('boolValue')
            ? json_['boolValue'] as core.bool
            : null,
        intValue: json_.containsKey('intValue')
            ? json_['intValue'] as core.String
            : null,
        multiBoolValue: json_.containsKey('multiBoolValue')
            ? (json_['multiBoolValue'] as core.List)
                .map((value) => value as core.bool)
                .toList()
            : null,
        multiIntValue: json_.containsKey('multiIntValue')
            ? (json_['multiIntValue'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        multiValue: json_.containsKey('multiValue')
            ? (json_['multiValue'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );