changeDocumentLanguage function

String changeDocumentLanguage(
  1. String documentName
)

Implementation

String changeDocumentLanguage(String documentName) {
  if (documentName == "Surat Izin Mengemudi") {
    return DocumentTypes.driverLicense.value;
  }
  return documentName;
}