TelnyxSocketError.fromJson constructor

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

Implementation

TelnyxSocketError.fromJson(Map<String, dynamic> json) {
  errorCode = json['code'] ?? 0;
  errorMessage = json['message'] ?? '';
}