toJson method

Map<String, dynamic> toJson()

Converts this Status instance to a JSON object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'response': response,
    'time': time,
  };
}