getAddonLicenses method
Implementation
@override
Future<Map<String, StoreLicense>> getAddonLicenses() async {
final result = await methodChannel.invokeMethod<Map>('getAddonLicenses');
if (result == null) {
return {};
}
return result.map((key, value) =>
MapEntry(key.toString(), StoreLicense.fromJson(jsonDecode(value))));
}