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