mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? delegated(
    1. StakeProgramDelegatedAccountData value
    )?,
  2. TResult? initialize(
    1. StakeProgramInitializedAccountData value
    )?,
  3. TResult? unknown(
    1. StakeProgramUnknownAccountData value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(StakeProgramDelegatedAccountData value)? delegated,
  TResult? Function(StakeProgramInitializedAccountData value)? initialize,
  TResult? Function(StakeProgramUnknownAccountData value)? unknown,
}) =>
    throw _privateConstructorUsedError;