PostgrestError.fromJson constructor

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

Implementation

factory PostgrestError.fromJson(Map<String, dynamic> json) => PostgrestError(
      message: json['message'] as String,
      code: json['code'] as String?,
      details: json['details'] as dynamic,
      hint: json['hint'] as String?,
    );