ProjectSummary.fromJson constructor Null safety

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

Implementation

factory ProjectSummary.fromJson(Map<String, dynamic> json) {
  return ProjectSummary(
    createdDate: nonNullableTimeStampFromJson(json['createdDate'] as Object),
    projectName: json['projectName'] as String,
    updatedDate: nonNullableTimeStampFromJson(json['updatedDate'] as Object),
    arn: json['arn'] as String?,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}