toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (exec != null) 'exec': exec!,
      if (file != null) 'file': file!,
      if (id != null) 'id': id!,
      if (pkg != null) 'pkg': pkg!,
      if (repository != null) 'repository': repository!,
    };