HeavyAdIssueDetails.fromJson constructor

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

Implementation

factory HeavyAdIssueDetails.fromJson(Map<String, dynamic> json) {
  return HeavyAdIssueDetails(
    resolution: HeavyAdResolutionStatus.fromJson(
      json['resolution'] as String,
    ),
    reason: HeavyAdReason.fromJson(json['reason'] as String),
    frame: AffectedFrame.fromJson(json['frame'] as Map<String, dynamic>),
  );
}