toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'available': available.map((k, v) => MapEntry(k, v.name)),
      'default': default$,
    };