ReminderType.fromJson constructor

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

Implementation

ReminderType.fromJson(Map<String, dynamic> json) {
  if (json["id"] is String) this.id = json["id"];
  if (json["name"] is String) this.name = json["name"];
  if (json["pictureUrl"] is String) this.pictureUrl = json["pictureUrl"];
  isCustomByUser = json['isCustomByUser'] ?? false;
}