OtherMethodInfo constructor

const OtherMethodInfo(
  1. String name,
  2. String type,
  3. bool typeIsNull,
  4. List<Map<String, dynamic>> methodParams,
  5. String? classCode,
  6. bool isAsync,
  7. String methodBody,
  8. String? valueUpdateListenerFunCode,
)

构造函数

name - 方法名 type - 返回类型 typeIsNull - 返回类型是否可空 methodParams - 参数列表(包含类型、可空、名称等信息) classCode - 生成的类级代码片段 isAsync - 是否为异步方法 methodBody - 生成的方法体代码 valueUpdateListenerFunCode - 生成的值变更监听方法代码片段

Implementation

const OtherMethodInfo(
  this.name,
  this.type,
  this.typeIsNull,
  this.methodParams,
  this.classCode,
  this.isAsync,
  this.methodBody,
  this.valueUpdateListenerFunCode,
);