InputAttachment.fromJson constructor

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

Implementation

factory InputAttachment.fromJson(Map<String, dynamic> json) {
  return InputAttachment(
    automaticInputFailoverSettings: json['automaticInputFailoverSettings'] !=
            null
        ? AutomaticInputFailoverSettings.fromJson(
            json['automaticInputFailoverSettings'] as Map<String, dynamic>)
        : null,
    inputAttachmentName: json['inputAttachmentName'] as String?,
    inputId: json['inputId'] as String?,
    inputSettings: json['inputSettings'] != null
        ? InputSettings.fromJson(
            json['inputSettings'] as Map<String, dynamic>)
        : null,
  );
}