Parse from a json
factory CallStatePending.fromJson(Map<String, dynamic> json) => CallStatePending( isCreated: json['is_created'], isReceived: json['is_received'], );