CreateTemplateResponse.fromJson constructor

CreateTemplateResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateTemplateResponse.fromJson(Map<String, dynamic> json) {
  return CreateTemplateResponse(
    arn: json['Arn'] as String?,
    creationStatus: (json['CreationStatus'] as String?)?.toResourceStatus(),
    requestId: json['RequestId'] as String?,
    templateId: json['TemplateId'] as String?,
    versionArn: json['VersionArn'] as String?,
  );
}