IosRuntimeConfiguration.fromJson constructor

IosRuntimeConfiguration.fromJson(
  1. Map json_
)

Implementation

IosRuntimeConfiguration.fromJson(core.Map json_)
  : this(
      locales: (json_['locales'] as core.List?)
          ?.map(
            (value) =>
                Locale.fromJson(value as core.Map<core.String, core.dynamic>),
          )
          .toList(),
      orientations: (json_['orientations'] as core.List?)
          ?.map(
            (value) => Orientation.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );