ResourceMetadata.fromJson constructor

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

Implementation

factory ResourceMetadata.fromJson(Map<String, dynamic> json) {
  return ResourceMetadata(
    arn: json['arn'] as String?,
    createdAt: timeStampFromJson(json['createdAt']),
    lastUpdatedAt: timeStampFromJson(json['lastUpdatedAt']),
    uid: json['uid'] as String?,
    version: json['version'] as int?,
  );
}