authRespModelFromJson function

AuthRespModel authRespModelFromJson(
  1. String str
)

status_code : 200 data : {"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTAzNDcyZDNiZTE0OWVjYjBiNjIwMjAwNTllN2ZkOCIsInJvbGVzIjpbIlJPTEVfTUVSQ0hBTlQiXSwiZXhwIjoxNzM5OTQwNTkwfQ.EjjLWcDcK32TP_NWlrZRU0lf_P9S-Dxg6SGiZJXHg5A","expiry_time":"2025-02-19 04:49:50"} success : 0 error : "Credentials are not valid"

Implementation

AuthRespModel authRespModelFromJson(String str) => AuthRespModel.fromJson(jsonDecode(str));