IosRuntimeConfiguration.fromJson constructor

IosRuntimeConfiguration.fromJson(
  1. Map json_
)

Implementation

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