BlockNotification constructor
BlockNotification({
- BlockNotification_Type? type,
- BlockInfo? blockInfo,
- Block? marshaledBlock,
- List<
int> ? serializedBlock,
Implementation
factory BlockNotification({
BlockNotification_Type? type,
BlockInfo? blockInfo,
Block? marshaledBlock,
$core.List<$core.int>? serializedBlock,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (blockInfo != null) {
_result.blockInfo = blockInfo;
}
if (marshaledBlock != null) {
_result.marshaledBlock = marshaledBlock;
}
if (serializedBlock != null) {
_result.serializedBlock = serializedBlock;
}
return _result;
}