setLocalLocation function Null safety
- Location location
Set local Location
final detroit = getLocation('America/Detroit')
setLocalLocation(detroit);
Implementation
void setLocalLocation(Location location) {
_local = location;
}
Set local Location
final detroit = getLocation('America/Detroit')
setLocalLocation(detroit);
void setLocalLocation(Location location) {
_local = location;
}