getOperations method

List<SqfliteFfiOperation> getOperations()

Get the list of operations.

Implementation

List<SqfliteFfiOperation> getOperations() {
  var operations = <SqfliteFfiOperation>[];
  (argumentsMap['operations'] as List)
      .cast<Map>()
      .forEach((operationArgument) {
    operations.add(SqfliteFfiOperation()
      ..sql = operationArgument['sql'] as String?
      ..sqlArguments =
          (operationArgument['arguments'] as List?)?.cast<Object?>()
      ..method = operationArgument['method'] as String);
  });
  return operations;
}