CustomResponse.fromMap constructor

CustomResponse.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory CustomResponse.fromMap(Map<String, dynamic> json) => CustomResponse(
      code: json["code"] == null ? null : json["code"],
      status: json["status"] == null ? null : json["status"],
      id: json["id"] == null ? null : json["id"],
    );