PostgrestResponse<T>.fromJson constructor

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

Implementation

factory PostgrestResponse.fromJson(Map<String, dynamic> json) =>
    PostgrestResponse<T>(
      data: json['data'] as T,
      count: json['count'] as int,
    );