toJson method

Map<String, dynamic> toJson()

Implementation

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