AndroidRuntimeConfiguration.fromJson constructor

AndroidRuntimeConfiguration.fromJson(
  1. Map json_
)

Implementation

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