LocalizedString.fromJson constructor

LocalizedString.fromJson(
  1. Map json_
)

Implementation

LocalizedString.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        locale: json_.containsKey('locale')
            ? json_['locale'] as core.String
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );