onResonse method

  1. @override
int onResonse(
  1. Map<String, dynamic> result
)
override

Converts the response result to the specified type RESULT.

Implementation

@override
int onResonse(Map<String, dynamic> result) {
  return result["server_time"];
}