ExtendedValue.fromJson constructor

ExtendedValue.fromJson(
  1. Map json_
)

Implementation

ExtendedValue.fromJson(core.Map json_)
    : this(
        boolValue: json_.containsKey('boolValue')
            ? json_['boolValue'] as core.bool
            : null,
        errorValue: json_.containsKey('errorValue')
            ? ErrorValue.fromJson(
                json_['errorValue'] as core.Map<core.String, core.dynamic>)
            : null,
        formulaValue: json_.containsKey('formulaValue')
            ? json_['formulaValue'] as core.String
            : null,
        numberValue: json_.containsKey('numberValue')
            ? (json_['numberValue'] as core.num).toDouble()
            : null,
        stringValue: json_.containsKey('stringValue')
            ? json_['stringValue'] as core.String
            : null,
      );