Social.fromJson constructor

Social.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Social.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  facebook = json['facebook'];
  twitter = json['twitter'];
  instagram = json['instagram'];
  youtube = json['youtube'];
  tiktok = json['tiktok'];
  linkedin = json['linkedin'];
  udemy = json['udemy'];
}