toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (byproducts != null) 'byproducts': byproducts!,
      if (command != null) 'command': command!,
      if (environment != null) 'environment': environment!,
      if (materials != null) 'materials': materials!,
      if (products != null) 'products': products!,
    };