debugSetMapById method

  1. @visibleForTesting
void debugSetMapById(
  1. Map<int, GoogleMapController> mapById
)

Allows tests to inject controllers without going through the buildView flow.

Implementation

@visibleForTesting
// ignore: use_setters_to_change_properties
void debugSetMapById(Map<int, GoogleMapController> mapById) {
  _mapById = mapById;
}