mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2025-12-10 03:05:34 +00:00
Retrofit classes implemented with interceptor and base features
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
extension CurrencyExtension on String {
|
||||
|
||||
/// Convert currency string into currency code
|
||||
/// eg. "AUD - Australian Dollar" to "AUD"
|
||||
String getCurrencyCode(){
|
||||
return substring(0,3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user