toJson method
Implementation
Map<String, dynamic> toJson() {
final batchSize = this.batchSize;
final lambdaName = this.lambdaName;
final name = this.name;
final next = this.next;
return {
'batchSize': batchSize,
'lambdaName': lambdaName,
'name': name,
if (next != null) 'next': next,
};
}