toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final jar = this.jar;
  final args = this.args;
  final mainClass = this.mainClass;
  final properties = this.properties;
  return {
    'Jar': jar,
    if (args != null) 'Args': args,
    if (mainClass != null) 'MainClass': mainClass,
    if (properties != null) 'Properties': properties,
  };
}