toAccountScope method
Implementation
AccountScope toAccountScope() {
switch (this) {
case 'PAYER':
return AccountScope.payer;
case 'LINKED':
return AccountScope.linked;
}
throw Exception('$this is not known in enum AccountScope');
}