toJSON method

Map<String, dynamic> toJSON()
override

Implementation

Map<String, dynamic> toJSON() => {
      'badge': badge ?? 0,
      'increase': increase ?? 0,
    };