ResendRetrieveAudienceResponse.fromJson constructor

ResendRetrieveAudienceResponse.fromJson(
  1. Json json
)

Factory method for creating a ResendRetrieveAudienceResponse instance from a JSON object

Implementation

factory ResendRetrieveAudienceResponse.fromJson(Json json) {
  return ResendRetrieveAudienceResponse(
      id: json['id'] as String,
      name: json['name'] as String,
      createdAt: DateTime.parse(json['created_at'] as String));
}