name property Null safety

String name

Implementation

String get name {
  switch (this) {
    case SupplierAccountType.individual:
      return 'INDIVIDUAL';
    case SupplierAccountType.organization:
      return 'ORGANIZATION';
    default:
      return 'UNKNOWN';
  }
}