GetInfoResponseMessage constructor

GetInfoResponseMessage({
  1. String? p2pId,
  2. Int64? mempoolSize,
  3. String? serverVersion,
  4. bool? isUtxoIndexed,
  5. bool? isSynced,
  6. RPCError? error,
})

Implementation

factory GetInfoResponseMessage({
  $core.String? p2pId,
  $fixnum.Int64? mempoolSize,
  $core.String? serverVersion,
  $core.bool? isUtxoIndexed,
  $core.bool? isSynced,
  RPCError? error,
}) {
  final _result = create();
  if (p2pId != null) {
    _result.p2pId = p2pId;
  }
  if (mempoolSize != null) {
    _result.mempoolSize = mempoolSize;
  }
  if (serverVersion != null) {
    _result.serverVersion = serverVersion;
  }
  if (isUtxoIndexed != null) {
    _result.isUtxoIndexed = isUtxoIndexed;
  }
  if (isSynced != null) {
    _result.isSynced = isSynced;
  }
  if (error != null) {
    _result.error = error;
  }
  return _result;
}