AndroidMatrix.fromJson constructor

AndroidMatrix.fromJson(
  1. Map json_
)

Implementation

AndroidMatrix.fromJson(core.Map json_)
    : this(
        androidModelIds: json_.containsKey('androidModelIds')
            ? (json_['androidModelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        androidVersionIds: json_.containsKey('androidVersionIds')
            ? (json_['androidVersionIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        locales: json_.containsKey('locales')
            ? (json_['locales'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        orientations: json_.containsKey('orientations')
            ? (json_['orientations'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );