setLocalLocation function

void setLocalLocation(
  1. Location location
)

Set local Location

final detroit = getLocation('America/Detroit')
setLocalLocation(detroit);

Implementation

void setLocalLocation(Location location) {
  _local = location;
}