toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiLevel != null) 'apiLevel': apiLevel!,
      if (brand != null) 'brand': brand!,
      if (enterprise != null) 'enterprise': enterprise!,
      if (managementMode != null) 'managementMode': managementMode!,
      if (model != null) 'model': model!,
      if (name != null) 'name': name!,
      if (ownership != null) 'ownership': ownership!,
    };