$TruncatableString.fromJson constructor

$TruncatableString.fromJson(
  1. Map json_
)

Implementation

$TruncatableString.fromJson(core.Map json_)
    : this(
        truncatedByteCount: json_.containsKey('truncatedByteCount')
            ? json_['truncatedByteCount'] as core.int
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );