Class provides a callback to be invoked when LocationListManager class downloads list of available locations from server. More...
Public Member Functions | |
| void | onLocationListLoaded (Map< int, LocationInfo > locationInfos) |
| Called when new list of available locations has been downloaded from server. | |
| void | onLocationListFailed (Error error) |
| Called if unable to download list of available locations. | |
Class provides a callback to be invoked when LocationListManager class downloads list of available locations from server.
Referenced from LocationListManager.
Definition at line 24 of file location_list_listener.dart.
| void LocationListListener.onLocationListFailed | ( | Error | error | ) |
Called if unable to download list of available locations.
| error | handled error. |
Dart code snippet:
| void LocationListListener.onLocationListLoaded | ( | Map< int, LocationInfo > | locationInfos | ) |
Called when new list of available locations has been downloaded from server.
| locationInfos | dictionary of LocationInfos which represents location id to location general info. |
Dart code snippet: