toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (applicationSource != null) 'applicationSource': applicationSource!,
      if (displayName != null) 'displayName': displayName!,
      if (events != null) 'events': events!,
      if (installerPackageName != null)
        'installerPackageName': installerPackageName!,
      if (keyedAppStates != null) 'keyedAppStates': keyedAppStates!,
      if (packageName != null) 'packageName': packageName!,
      if (packageSha256Hash != null) 'packageSha256Hash': packageSha256Hash!,
      if (signingKeyCertFingerprints != null)
        'signingKeyCertFingerprints': signingKeyCertFingerprints!,
      if (state != null) 'state': state!,
      if (userFacingType != null) 'userFacingType': userFacingType!,
      if (versionCode != null) 'versionCode': versionCode!,
      if (versionName != null) 'versionName': versionName!,
    };