toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final name = this.name;
  final parameters = this.parameters;
  final timeToLive = this.timeToLive;
  return {
    'name': name,
    'parameters': parameters,
    'timeToLive': timeToLive,
  };
}