setLocationType method Null safety

Future<void> setLocationType(
  1. LocationType type
)

设置定位类型

type - 定位类型

Implementation

static Future<void> setLocationType(LocationType type) async {
  await _channel.invokeMethod('setLocationType', type.name);
}