LocalizedString.fromJson constructor

LocalizedString.fromJson(
  1. Map json_
)

Implementation

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