RtmpUrl.fromJson constructor

RtmpUrl.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory RtmpUrl.fromJson(Map<String, dynamic> json) => RtmpUrl(
      url: json['url'],
      streamKey: json['stream_key'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );