toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (args != null) 'args': args!,
      if (dir != null) 'dir': dir!,
      if (env != null) 'env': env!,
      if (id != null) 'id': id!,
      if (name != null) 'name': name!,
      if (waitFor != null) 'waitFor': waitFor!,
    };