NamiPaywallEventVideoMetadata.fromMap constructor

NamiPaywallEventVideoMetadata.fromMap(
  1. Map map
)

Implementation

factory NamiPaywallEventVideoMetadata.fromMap(Map<dynamic, dynamic> map) {
  return NamiPaywallEventVideoMetadata(
    id: map['id'],
    name: map['name'],
    url: map['url'],
    loopVideo: map['loopVideo'],
    muteByDefault: map['muteByDefault'],
    autoplayVideo: map['autoplayVideo'],
    contentTimeCode: map['contentTimeCode'],
    contentDuration: map['contentDuration'],
  );
}