getWeight method
Read current weight once.
Implementation
@override
Future<AclasWeightInfo?> getWeight() async {
final map = await methodChannel.invokeMethod<Map<Object?, Object?>>(
'getWeight',
);
if (map == null) return null;
return AclasWeightInfo.fromMap(map);
}