method property Null safety

int method
@JsonKey(defaultValue: PassThroughMethod.POST), final

Optional. Number constant (1: GET, 2: POST, 3: PUT, 4: DELETE). The default value is POST PassThroughMethod

Implementation

@JsonKey(defaultValue: PassThroughMethod.POST)
final int method;