toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final ttl = this.ttl;
  final type = this.type;
  return {
    'TTL': ttl,
    'Type': type.toValue(),
  };
}