toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deliveryType != null) 'deliveryType': deliveryType!,
      if (dependencies != null) 'dependencies': dependencies!,
      if (moduleType != null) 'moduleType': moduleType!,
      if (name != null) 'name': name!,
      if (targeting != null) 'targeting': targeting!,
    };