IosVersion.fromJson constructor

IosVersion.fromJson(
  1. Map json_
)

Implementation

IosVersion.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        majorVersion: json_.containsKey('majorVersion')
            ? json_['majorVersion'] as core.int
            : null,
        minorVersion: json_.containsKey('minorVersion')
            ? json_['minorVersion'] as core.int
            : null,
        supportedXcodeVersionIds:
            json_.containsKey('supportedXcodeVersionIds')
                ? (json_['supportedXcodeVersionIds'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        tags: json_.containsKey('tags')
            ? (json_['tags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );