toJson method

Map<String, dynamic> toJson()

Implementation

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