Source.fromJson constructor
Implementation
factory Source.fromJson(Map<String, dynamic> json) {
return Source(
password: json['Password'] as String?,
revision: json['Revision'] as String?,
sshKey: json['SshKey'] as String?,
type: (json['Type'] as String?)?.toSourceType(),
url: json['Url'] as String?,
username: json['Username'] as String?,
);
}