RegistryCredential.fromJson constructor
Implementation
factory RegistryCredential.fromJson(Map<String, dynamic> json) {
return RegistryCredential(
credential: json['credential'] as String,
credentialProvider:
(json['credentialProvider'] as String).toCredentialProviderType(),
);
}