sendStaticGet<T> static method

Future<T> sendStaticGet<T>(
  1. String className,
  2. String property, [
  3. String? key
])

Get static property

Implementation

static Future<T> sendStaticGet<T>(String className, String property, [String? key]) async {
  final messageClient = getGlobalMessageClient(key);
  final result = await messageClient.sendVarGet(
    className,
    property,
  );
  final decoded = messageClient.proto.decodeArg(result.msg);
  return decoded;
}