ConferenceProvider.fromJson constructor

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

Implementation

factory ConferenceProvider.fromJson(Map<String, dynamic> json) {
  return ConferenceProvider(
    arn: json['Arn'] as String?,
    iPDialIn: json['IPDialIn'] != null
        ? IPDialIn.fromJson(json['IPDialIn'] as Map<String, dynamic>)
        : null,
    meetingSetting: json['MeetingSetting'] != null
        ? MeetingSetting.fromJson(
            json['MeetingSetting'] as Map<String, dynamic>)
        : null,
    name: json['Name'] as String?,
    pSTNDialIn: json['PSTNDialIn'] != null
        ? PSTNDialIn.fromJson(json['PSTNDialIn'] as Map<String, dynamic>)
        : null,
    type: (json['Type'] as String?)?.toConferenceProviderType(),
  );
}