MethodChannelFlutterConfigPlus class
An implementation of FlutterConfigPlusPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterConfigPlusPlatform
- MethodChannelFlutterConfigPlus
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
override
-
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
Static Properties
- instance → MethodChannelFlutterConfigPlus
-
final
-
variables
→ Map<
String, dynamic> -
returns all the current loaded variables;
no setter
Static Methods
-
get(
String key) → dynamic -
Returns a specific variable value give a
key
-
loadEnvVariables(
) → dynamic -
Variables need to be loaded on app startup, recommend to do it
main.dart
-
loadValueForTesting(
Map< String, dynamic> values) → dynamic
Constants
- methodChannel → const MethodChannel
- The method channel used to interact with the native platform.