toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (agent != null) 'agent': agent!,
      if (createTime != null) 'createTime': createTime!,
      if (humanReview != null) 'humanReview': humanReview!.toJson(),
      if (id != null) 'id': id!,
      if (parent != null) 'parent': parent!,
      if (processor != null) 'processor': processor!,
    };