holderOf static method

String? holderOf(
  1. FakeAgent a
)

The holder that counts for a: its credential_holder_id on personal, else null.

Implementation

static String? holderOf(FakeAgent a) =>
    a.billingMode == 'personal' ? a.credentialHolderId : null;