AppConfig class

Constructors

AppConfig({String indonesiaLocale = 'id_ID', String? urlAPK = 'https://www.example.com/apk/apk.apk', String? defaultImageNetwork = 'https://homepages.cae.wisc.edu/~ece533/images/airplane.png', String? urlImageAsset = 'assets/images', String? nameLogoAsset = 'logo_transparent.png', String? baseAPIURL = 'https://www.example.com', String? baseImageURL = 'https://www.example.com/images', String? tokenFirebase = 'exampletoken', String fullPathImageAsset = '', Map<String, String>? headersAPI = const {'Content-Type' : 'application/x-www-form-urlencoded'}})

Properties

baseAPIURL String?
http://www.example.com
getter/setter pair
baseImageURL String?
http://www.example.com/images
getter/setter pair
defaultImageNetwork String?
https://homepages.cae.wisc.edu/~ece533/images/airplane.png
getter/setter pair
fullPathImageAsset String
Full Url Asset Image
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headersAPI Map<String, String>?
{'Content-Type': 'application/x-www-form-urlencoded'}
getter/setter pair
indonesiaLocale String
id
getter/setter pair
nameLogoAsset String?
logo.png
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenFirebase String?
exampletoken
getter/setter pair
urlAPK String?
getter/setter pair
urlImageAsset String?
asset/images
getter/setter pair

Methods

configuration({String urlImageAsset = 'assets/images', String urlAPK = 'https://www.example.com/apk/apk.apk', String nameLogoAsset = 'logo_transparent.png', String baseAPIURL = 'https://www.example.com', String baseImageURL = 'https://www.example.com/images', String tokenFirebase = 'exampletoken', String defaultImageNetwork = 'https://homepages.cae.wisc.edu/~ece533/images/airplane.png', String fullPathImageAsset = '', Map<String, String>? headersAPI}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited