Campaign.fromJson constructor

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

Implementation

Campaign.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
}