factory MethodInfo({ int? id, required String endpoint, required String method, }) = _MethodInfoImpl;