token property
Retrieves the token from the What3Words services.
Returns
- The token as a string.
Implementation
String get token {
final OperationResult resultString = objectMethod(
_pointerId,
'Projection_W3W',
'getToken',
);
return resultString['result'];
}
Sets the token for the W3WProjection.
Parameters
- IN token An user obtained token from What3Words services.
Implementation
set token(String token) {
objectMethod(
_pointerId,
'Projection_W3W',
'setToken',
args: token,
);
}