postDemographic static method
Implementation
static Future<bool> postDemographic(Map demographic) async {
try {
bool success =
await _channel.invokeMethod('postDemographic', demographic);
return success;
} on PlatformException catch (error) {
return Future.error(error);
} catch (error) {
return Future.error(error);
}
}