SdkVersion.fromJson constructor

SdkVersion.fromJson(
  1. Map json_
)

Implementation

SdkVersion.fromJson(core.Map json_)
    : this(
        bugs: json_.containsKey('bugs')
            ? (json_['bugs'] as core.List)
                .map((value) => SdkBug.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        sdkSupportStatus: json_.containsKey('sdkSupportStatus')
            ? json_['sdkSupportStatus'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
        versionDisplayName: json_.containsKey('versionDisplayName')
            ? json_['versionDisplayName'] as core.String
            : null,
      );