NextResponse.fromJson constructor

NextResponse.fromJson(
  1. Map<String, dynamic> json
)

from json

Implementation

factory NextResponse.fromJson(Map<String, dynamic> json) => NextResponse(
      data: Data.fromJson(json["data"]),
      status: json["status"],
    );