toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('prefix')) {
    final l$prefix = prefix;
    result$data['prefix'] = l$prefix;
  }
  if (_$data.containsKey('target')) {
    final l$target = target;
    result$data['target'] = l$target?.toJson();
  }
  return result$data;
}