FileReference.fromLocalFile constructor

FileReference.fromLocalFile(
  1. ByteData localFileContent, [
  2. String? password
])

Implementation

FileReference.fromLocalFile(ByteData localFileContent, [String? password])
    : _source = 'Request',
      _content = localFileContent,
      _reference = Uuid().v4(),
      _password = password,
      _encryptedPassword = null;