ServerpodSqlException.fromJson constructor

ServerpodSqlException.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory ServerpodSqlException.fromJson(
    Map<String, dynamic> jsonSerialization) {
  return ServerpodSqlException(
    message: jsonSerialization['message'] as String,
    sql: jsonSerialization['sql'] as String,
  );
}