SigningProfile.fromJson constructor
SigningProfile.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SigningProfile.fromJson(Map<String, dynamic> json) {
return SigningProfile(
arn: json['arn'] as String?,
platformDisplayName: json['platformDisplayName'] as String?,
platformId: json['platformId'] as String?,
profileName: json['profileName'] as String?,
profileVersion: json['profileVersion'] as String?,
profileVersionArn: json['profileVersionArn'] as String?,
signatureValidityPeriod: json['signatureValidityPeriod'] != null
? SignatureValidityPeriod.fromJson(
json['signatureValidityPeriod'] as Map<String, dynamic>)
: null,
signingMaterial: json['signingMaterial'] != null
? SigningMaterial.fromJson(
json['signingMaterial'] as Map<String, dynamic>)
: null,
signingParameters: (json['signingParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
status: (json['status'] as String?)?.toSigningProfileStatus(),
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}