toJson method

Map<String, dynamic> toJson()

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,
  };
}