idCheck method

String idCheck(
  1. String check
)

Implementation

String idCheck(String check) {
  switch (check) {
    case 'same type':
      return 'Same type of ID'.tr;
    case 'Two person':
      return 'are of different ID types'.tr;
    default:
      return 'null';
  }
}