RTCRecordingInfo.fromMap constructor

RTCRecordingInfo.fromMap(
  1. dynamic map
)

Implementation

factory RTCRecordingInfo.fromMap(dynamic map) {
  if (map == null) throw ArgumentError('The type of action map is null');
  return RTCRecordingInfo(
    recordingStarted: map['recordingStarted'],
    user: map['user'] == null ? null : RTCUser.fromMap(map['user']!)
  );
}