PublicDynamicLinkEvent.fromJson constructor

PublicDynamicLinkEvent.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory PublicDynamicLinkEvent.fromJson(Map<String, Object?> json) =>
    PublicDynamicLinkEvent(
      shortCode: json['shortCode'] as String,
      type: PublicDynamicLinkEventType.fromWire(json['type'] as String),
      platform: json['platform'] == null
          ? null
          : PublicDynamicLinkPlatform.fromWire(json['platform'] as String),
      appVersion: json['appVersion'] as String?,
      sdkVersion: json['sdkVersion'] as String?,
    );