MillicastDirectorResponse.fromJson constructor Null safety

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

Implementation

factory MillicastDirectorResponse.fromJson(Map<String, dynamic> json) {
  try {
    return MillicastDirectorResponse(jwt: json['jwt'], urls: json['urls']);
  } catch (e) {
    throw Exception(e);
  }
}