PdaMediaElement.fromMap constructor
Implementation
factory PdaMediaElement.fromMap(Map<String, dynamic> map) {
return PdaMediaElement(
type: map['type']?.toString() ?? '',
value: map['value']?.toString() ?? '',
width: map['width'] as int? ?? 0,
height: map['height'] as int? ?? 0,
);
}