toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final path = this.path;
  final args = this.args;
  return {
    'Path': path,
    if (args != null) 'Args': args,
  };
}