AnybillResult<T>.success constructor
- int code,
- {T? data}
Used when the result of the API has been successfully returned.
Implementation
factory AnybillResult.success(
/// The HTTP status code as integer.
int code, {
/// The results' data. Can be null.
T? data,
}) = Success<T>;