MagicInterstitialResponse.withMap constructor
Implementation
factory MagicInterstitialResponse.withMap(Map<String, Object?> map) {
return MagicInterstitialResponse(
event: '${map['event'] ?? ''}',
tagId: '${map['tagId'] ?? ''}',
adObjectId: map['adObjectId'] as String?,
adObject: magicAdObjectFromEventMap(map),
method: map['method'] as String?,
requestMessage: map['errorMessage'] as String?,
rawMap: map,
extraMap: MagicBaseResponse.extraFrom(map),
interstitialStatus: _interstitialStatus('${map['event'] ?? ''}'),
);
}