create method

Future<android_location_Location> create(
  1. String provider
)

Implementation

static Future<android_location_Location> create(String provider) async {
  assert(provider != null);
  final refId = await kMethodChannel.invokeMethod(
      'android.location.Location::create', {'provider': provider});
  return android_location_Location()
    ..refId = refId
    ..tag__ = 'platform';
}