GetSigningPlatformResponse.fromJson constructor
GetSigningPlatformResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetSigningPlatformResponse.fromJson(Map<String, dynamic> json) {
return GetSigningPlatformResponse(
category: (json['category'] as String?)?.toCategory(),
displayName: json['displayName'] as String?,
maxSizeInMB: json['maxSizeInMB'] as int?,
partner: json['partner'] as String?,
platformId: json['platformId'] as String?,
revocationSupported: json['revocationSupported'] as bool?,
signingConfiguration: json['signingConfiguration'] != null
? SigningConfiguration.fromJson(
json['signingConfiguration'] as Map<String, dynamic>)
: null,
signingImageFormat: json['signingImageFormat'] != null
? SigningImageFormat.fromJson(
json['signingImageFormat'] as Map<String, dynamic>)
: null,
target: json['target'] as String?,
);
}