CampaignState.fromJson constructor

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

Implementation

factory CampaignState.fromJson(Map<String, dynamic> json) {
  return CampaignState(
    campaignStatus: (json['CampaignStatus'] as String?)?.toCampaignStatus(),
  );
}