setAge static method

Future<void> setAge(
  1. int age
)

Implementation

static Future<void> setAge(int age) async {
  Map<String, dynamic> values = {'age': age};

  await _channel.invokeMethod('setAge', values);
}