factory ResourceStatus.fromJson(Map<String, dynamic> json) { return ResourceStatus( name: (json['Name'] as String?)?.toResourceStatusValue(), ); }