toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'image': image,
    'behaviors': behaviors.map((e) => e.toJson()).toList(),
    'next': next,
    'bgm': bgm,
  };
}