setSource static method
Implementation
static Future<void> setSource(
String resource, String platform, String language) async {
try {
final arguments = {
"resource": resource,
"platform": platform,
"language": language
};
await channel.invokeMethod('setSource', arguments);
} on PlatformException catch (p) {
_errorCallbackHandler(null, p, null, null);
} catch (e) {
_errorCallbackHandler(null, null, e, null);
}
}