createFileMessageFromFullPath method

Future<Message> createFileMessageFromFullPath({
  1. required String filePath,
  2. required String fileName,
  3. String? operationID,
})

Create a file message from a full path filePath Path fileName File name

Implementation

Future<Message> createFileMessageFromFullPath({
  required String filePath,
  required String fileName,
  String? operationID,
}) =>
    _channel
        .invokeMethod(
            'createFileMessageFromFullPath',
            _buildParam({
              'filePath': filePath,
              'fileName': fileName,
              "operationID": Utils.checkOperationID(operationID),
            }))
        .then((value) => Utils.toObj(value, (map) => Message.fromJson(map)));