FlutterNativeAdImage.fromMap constructor
Creates a FlutterNativeAdImage from a map.
Implementation
factory FlutterNativeAdImage.fromMap(Map<String, dynamic> map) {
return FlutterNativeAdImage(
url: map['url'] as String?,
width: (map['width'] as num?)?.toDouble(),
height: (map['height'] as num?)?.toDouble(),
scale: (map['scale'] as num?)?.toDouble(),
);
}