toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clearAppsDataParams != null)
        'clearAppsDataParams': clearAppsDataParams!,
      if (clearAppsDataStatus != null)
        'clearAppsDataStatus': clearAppsDataStatus!,
      if (createTime != null) 'createTime': createTime!,
      if (duration != null) 'duration': duration!,
      if (errorCode != null) 'errorCode': errorCode!,
      if (newPassword != null) 'newPassword': newPassword!,
      if (resetPasswordFlags != null)
        'resetPasswordFlags': resetPasswordFlags!,
      if (startLostModeParams != null)
        'startLostModeParams': startLostModeParams!,
      if (startLostModeStatus != null)
        'startLostModeStatus': startLostModeStatus!,
      if (stopLostModeParams != null)
        'stopLostModeParams': stopLostModeParams!,
      if (stopLostModeStatus != null)
        'stopLostModeStatus': stopLostModeStatus!,
      if (type != null) 'type': type!,
      if (userName != null) 'userName': userName!,
    };