SdkContract constructor

const SdkContract({
  1. required Set<int> successStatusCodes,
  2. required String dataPath,
  3. required String messagePath,
  4. required IsBodySuccess isBodySuccess,
})

Creates an explicit response contract definition.

Implementation

const SdkContract({
  required this.successStatusCodes,
  required this.dataPath,
  required this.messagePath,
  required this.isBodySuccess,
});