postDemographic static method

Future<bool> postDemographic(
  1. Map demographic
)

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);
  }
}