factory FeeEndpointInfo.fromJson(Map<String, dynamic> json) { bool? auth = json['authentication_required']; return FeeEndpointInfo(json['enabled'], auth != null ? auth : false); }