toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['client_id'] = clientId;
map['client_secret'] = clientSecret;
map['username'] = username;
map['password'] = password;
map['basePath'] = basePath;
return map;
}