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