CallCapabilities.fromJson constructor

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

Implementation

factory CallCapabilities.fromJson(Map<String, dynamic> json) =>
    CallCapabilities(
      dtmf: json['m.call.dtmf'] as bool? ?? false,
      transferee: json['m.call.transferee'] as bool? ?? false,
    );