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,
      );