mmvergara / supadart

Typesafe queries in Supabase Flutter! Generate Flutter / Dart 🎯 classes from your Supabase schema.
https://supadart.vercel.app
MIT License
43 stars 5 forks source link

converterSingle for .single and .maybeSingle #29

Closed mmvergara closed 4 months ago

mmvergara commented 4 months ago
  static BooleanBitTypes? converterSingle(Map<String, dynamic>? data) {
    if (data == null) return null;
    return BooleanBitTypes.fromJson(data);
  }