@override Future<double?> getWeight() async { final weight = await methodChannel.invokeMethod<double>( 'getWeight', ); return weight; }