fromJson static method

InputCallDiscarded? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static InputCallDiscarded? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return InputCallDiscarded(
    callId: (json['call_id'] as int?) ?? 0,
  );
}