CommandMetadata constructor

CommandMetadata({
  1. required String chainId,
  2. required String sender,
  3. int? gasLimit,
  4. double? gasPrice,
  5. int? ttl,
  6. int? creationTime,
})

Implementation

CommandMetadata({
  required this.chainId,
  required this.sender,
  int? gasLimit,
  double? gasPrice,
  int? ttl,
  int? creationTime,
})  : gasLimit = gasLimit ?? 2500,
      gasPrice = gasPrice ?? 0.00001,
      ttl = ttl ?? 600,
      creationTime = creationTime ?? Utils.getCreationTime();