GetRegistryRepositoryResult.fromMap constructor
GetRegistryRepositoryResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetRegistryRepositoryResult.fromMap(Map<String, dynamic> map) {
return GetRegistryRepositoryResult(
id: (() { final guardedValue = map['id']; if (guardedValue == null) return null; return guardedValue as String; })(),
project: (() { final guardedValue = map['project']; if (guardedValue == null) return null; return guardedValue as String; })(),
region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return guardedValue as String; })(),
repositoryUrl: (() { final guardedValue = map['repositoryUrl']; if (guardedValue == null) return null; return guardedValue as String; })(),
);
}