social_medias property

List<LinkData> get social_medias

Implementation

List<LinkData> get social_medias {
  try {
    if (rawData["social_medias"] is List == false) {
      return [];
    }
    return (rawData["social_medias"] as List)
        .map((e) => LinkData(e as Map))
        .toList()
        .cast<LinkData>();
  } catch (e) {
    return [];
  }
}
set social_medias (List<LinkData> values)

Implementation

set social_medias(List<LinkData> values) {
  rawData["social_medias"] = values.map((value) => value.toJson()).toList();
}