setMaxMetadataSize method Null safety

Future<void> setMaxMetadataSize(
  1. int size
)

Sets the maximum size of the metadata.

Parameter size The maximum size (bytes) of the buffer of the metadata that you want to use. The highest value is 1024 bytes.

Implementation

@override
Future<void> setMaxMetadataSize(int size) {
  return _invokeMethod('setMaxMetadataSize', {
    'size': size,
  });
}