contract property

Contract? get contract

Implementation

Contract? get contract {
  for (final a in this) {
    if (a.typeUrl == contractTypeUrl) {
      return Contract.fromBuffer(a.value);
    }
  }
  return null;
}