getToken method
Retrieves a pairing token for the given homeId.
homeId is passed on to native
getToken function of the native is invoked
token of the home is returned
Implementation
@override
Future<String?> getToken({required int homeId}) async {
return await methodChannel.invokeMethod<String>(
'getToken',
<String, dynamic>{'homeId': homeId},
);
}