BlueConicNativeResult class
Represents a unified result from native platform methods.
All native methods now return success: bool, data: any?, error: string?
Constructors
- BlueConicNativeResult.fromNative(dynamic nativeResult)
-
Parses the native response format:
success, data, errorfactory
Properties
Methods
-
getDataOrDefault<
T> (T defaultValue) → T - Returns the data if successful, otherwise returns the provided default value
-
getDataOrThrow<
T> () → T - Returns the data if successful, otherwise throws an exception
-
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