onReceivedFromNative method
Implementation
@override
Future<void> onReceivedFromNative(MethodCall call) async {
if (call.method == InitializeConstants.onSuccess) {
_onSuccess(InitializationResult(call.arguments));
} else if (call.method == InitializeConstants.onFailed) {
_onFailed(DigifiedError(call.arguments));
}
}