toJson method

Map toJson()

Implementation

Map toJson() {
  Map _result = {};

  if (status != null) _result.addAll({"status": status});
  if (response != null) _result.addAll({"response": response!.toJson()});

  return _result;
}