LocalizedStringBundle.fromJson constructor

LocalizedStringBundle.fromJson(
  1. Map json_
)

Implementation

LocalizedStringBundle.fromJson(core.Map json_)
  : this(
      kind: json_['kind'] as core.String?,
      translations:
          (json_['translations'] as core.List?)
              ?.map(
                (value) => LocalizedString.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );