TemplateSummary.fromJson constructor

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

Implementation

factory TemplateSummary.fromJson(Map<String, dynamic> json) {
  return TemplateSummary(
    arn: json['Arn'] as String?,
    createdTime: timeStampFromJson(json['CreatedTime']),
    lastUpdatedTime: timeStampFromJson(json['LastUpdatedTime']),
    latestVersionNumber: json['LatestVersionNumber'] as int?,
    name: json['Name'] as String?,
    templateId: json['TemplateId'] as String?,
  );
}