fetchInBackground method

Future<ParseObject> fetchInBackground ()

Fetches this object with the data from the server in a background thread.

Returns a Future of ParseObject.

Implementation

Future<ParseObject> fetchInBackground() async {
  final result = await FlutterParse._channel
      .invokeMethod('fetchInBackground', toJson(withData: false));
  if (result != null) {
    _mergeSave(json.decode(result));
    return this;
  }

  return null;
}