GenerateTemplateResponse.fromJson constructor

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

Implementation

factory GenerateTemplateResponse.fromJson(Map<String, dynamic> json) {
  return GenerateTemplateResponse(
    s3Location: json['s3Location'] != null
        ? S3Location.fromJson(json['s3Location'] as Map<String, dynamic>)
        : null,
  );
}