ResourceDetail.fromJson constructor

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

Implementation

factory ResourceDetail.fromJson(Map<String, dynamic> json) {
  return ResourceDetail(
    arn: json['ARN'] as String?,
    createdTime: timeStampFromJson(json['CreatedTime']),
    description: json['Description'] as String?,
    id: json['Id'] as String?,
    name: json['Name'] as String?,
  );
}