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',
    'LengthUnit.',
    $LengthUnit.$new,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LengthUnit.Millimeter*g',
    $LengthUnit.$Millimeter,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LengthUnit.Centimeter*g',
    $LengthUnit.$Centimeter,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LengthUnit.Meter*g',
    $LengthUnit.$Meter,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LengthUnit.Kilometer*g',
    $LengthUnit.$Kilometer,
  );

  runtime.registerBridgeFunc(
    'package:latlong2/latlong.dart',
    'LengthUnit.Mile*g',
    $LengthUnit.$Mile,
  );
}