token property
The stored What3Words token.
Returns
- (String) The token string associated with this projection.
Implementation
String get token {
final OperationResult resultString = objectMethod(
_pointerId,
'Projection_W3W',
'getToken',
);
return resultString['result'];
}
Set the What3Words API token used by this projection instance.
Parameters
token: (String) Token obtained from What3Words services.
Implementation
set token(String token) {
objectMethod(_pointerId, 'Projection_W3W', 'setToken', args: token);
}