AttributeValue.fromJson constructor

AttributeValue.fromJson(
  1. Map json_
)

Implementation

AttributeValue.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,
        stringValue: json_.containsKey('stringValue')
            ? TruncatableString.fromJson(
                json_['stringValue'] as core.Map<core.String, core.dynamic>)
            : null,
      );