getLocation function Null safety
- String locationName
Find Location by its name.
final detroit = getLocation('America/Detroit');
Implementation
Location getLocation(String locationName) {
return _database.get(locationName);
}
Find Location by its name.
final detroit = getLocation('America/Detroit');
Location getLocation(String locationName) {
return _database.get(locationName);
}