FfiMethodCall class

An command object representing the invocation of a named method.

Available extensions
Annotations

Constructors

FfiMethodCall(String method, [Object? arguments])
Creates a MethodCall representing the invocation of method with the specified arguments.
const

Properties

arguments → Object?
The arguments for the method.
final
argumentsMap → Map

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Read arguments as a map;
no setter
hashCode → int
The hash code for this object.
no setterinherited
method → String
The name of the method to be called.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getContinueOnError() → bool

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

To ignore errors for batch.
getDatabase() → SqfliteFfiDatabase?

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Find the database.
getDatabaseId() → int?

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Get the id from the arguments.
getDatabaseOrThrow() → SqfliteFfiDatabase

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Find the database or throw.arguments
getDatabasesPath() → String

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Default database path.
getNoResult() → bool

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Get the no result argument.
getOperations() → List<SqfliteFfiOperation>

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Get the list of operations.
getPath() → String?

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Return the path argument if any
getSql() → String?

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Get the sql command.
getSqlArguments() → List<Object?>?

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Check the arguments
handleBatch() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle batch.
handleCloseDatabase() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle close database.
handleDatabaseExists() → Future<bool>

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle databaseExists.
handleDebugMode() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle debug mode.
handleDeleteDatabase() → Future<void>

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle delete database.
handleExecute() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle execute.
handleGetDatabasesPath() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Get the databases path.
handleImpl() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Main handling.
handleInIsolate({SqfliteFfiInit? ffiInit}) → Future

Available on FfiMethodCall, provided by the FfiMethodCallHandler extension

Handle a method call
handleInsert() → Future<int?>

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle insert.
handleOpenDatabase() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle open database.
handleOptions() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle options.
handleQuery() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle query.
handleUpdate() → Future<int>

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle udpate.
isInMemory(String path) → bool

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Check if path in memory.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawHandle() → Future

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Handle a method call
synchronized<T>(Future<T> action()) → Future<T>

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Locked per instance unless in memory.
toString() → String
A string representation of this object.
override
wrapAnyException(dynamic e) → SqfliteFfiException

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Wrap the exception, keeping sql/sqlArguments in error
wrapSqlException(SqliteException e, {String? code, Map<String, Object?>? details}) → SqfliteFfiException

Available on FfiMethodCall, provided by the SqfliteFfiMethodCallHandler extension

Wrap SQL exception.

Operators

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