toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['id'] = id;
  data['createdAt'] = createdAt;
  data['facebook'] = facebook;
  data['twitter'] = twitter;
  data['instagram'] = instagram;
  data['youtube'] = youtube;
  data['tiktok'] = tiktok;
  data['linkedin'] = linkedin;
  data['udemy'] = udemy;
  return data;
}