toJson method

Map<String, dynamic> toJson()

Converts instance to a JSON object.

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'packageName': _packageName,
      'updateAvailability': _updateAvailability,
      'immediateAllowed': _immediateAllowed,
      'flexibleAllowed': _flexibleAllowed,
      'clientVersionStalenessDays': _clientVersionStalenessDays,
      'updatePriority': _updatePriority,
      'availableVersionCode': _availableVersionCode,
      'installStatus': _installStatus,
    };