fromMap static method

NERtcChannelMediaRelayInfo fromMap(
  1. Map<String, dynamic> map
)

Implementation

static NERtcChannelMediaRelayInfo fromMap(Map<String, dynamic> map) {
  return NERtcChannelMediaRelayInfo(
      channelUid: map['channelUid'] ?? 0,
      channelName: map['channelName'] ?? '',
      channelToken: map['channelToken'] ?? '');
}