Localization.fromJson constructor

Localization.fromJson(
  1. Map _json
)

Implementation

Localization.fromJson(core.Map _json)
    : this(
        langCode: _json.containsKey('langCode')
            ? _json['langCode'] as core.String
            : null,
        text: _json.containsKey('text') ? _json['text'] as core.String : null,
      );