of static method
SendResponse
of({
- required int? success,
- required int? failures,
- List<
ISendResponseItem> ? responses,
Implementation
static SendResponse of(
{required int? success,
required int? failures,
List<ISendResponseItem>? responses}) {
final self =
SendResponse(<String, dynamic>{}, mtype: SendResponseRef, update: true);
if (success != null) self.success = success;
if (failures != null) self.failures = failures;
if (responses != null) self.responses = responses;
return self;
}