toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deviceSpec != null) 'deviceSpec': deviceSpec!,
      if (options != null) 'options': options!,
      if (variantId != null) 'variantId': variantId!,
    };