LocalizedText.fromJson constructor

LocalizedText.fromJson(
  1. Map json_
)

Implementation

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