PostgrestException.fromJson constructor
PostgrestException.fromJson(})
Implementation
factory PostgrestException.fromJson(
Map<String, dynamic> json, {
String? message,
int? code,
String? details,
}) {
return PostgrestException(
message: (json['message'] ?? message) as String,
code: (json['code'] ?? '$code') as String?,
details: (json['details'] ?? details),
hint: json['hint'] as String?,
);
}