copyWith method

BlockSchema copyWith({
  1. int? blockNumber,
  2. int? blockTimestamp,
})

Implementation

BlockSchema copyWith({int? blockNumber, int? blockTimestamp}) {
  return BlockSchema(
      blockNumber: blockNumber ?? this.blockNumber,
      blockTimestamp: blockTimestamp ?? this.blockTimestamp);
}