configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Configure this class for use in a Runtime

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LatLng.',
    $LatLng.$new,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LatLng.fromJson',
    $LatLng.$fromJson,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LatLng.fromSexagesimal',
    $LatLng.$fromSexagesimal,
  );
}