Contract constructor
Contract({
- String? contractAddress,
- ContractInfo? contractInfo,
- Iterable<
Model> ? contractState,
Implementation
factory Contract({
$core.String? contractAddress,
$3.ContractInfo? contractInfo,
$core.Iterable<$3.Model>? contractState,
}) {
final _result = create();
if (contractAddress != null) {
_result.contractAddress = contractAddress;
}
if (contractInfo != null) {
_result.contractInfo = contractInfo;
}
if (contractState != null) {
_result.contractState.addAll(contractState);
}
return _result;
}