Response.fromMap constructor

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

Implementation

factory Response.fromMap(Map<String, dynamic> json) => Response(
      status: json["status"],
      data: json["data"],
      message: json["message"],
    );