sendMetadata method Null safety

Future<void> sendMetadata(
  1. String metadata
)

Sends the metadata.

Parameter metadata The metadata to be sent in the form of String.

Note

Ensure that the size of the metadata does not exceed the value set in the setMaxMetadataSize method.

Implementation

@override
Future<void> sendMetadata(String metadata) {
  return _invokeMethod('sendMetadata', {
    'metadata': metadata,
  });
}