Future<Uint8List?> getData() { return kMethodChannel.invokeMethod<Uint8List>( 'NSData::getData', {'__this__': this}, ); }