FinancialConnectionSession constructor

  1. @JsonSerializable(explicitToJson: true)
const FinancialConnectionSession({
  1. required String id,
  2. required String clientSecret,
  3. required bool livemode,
  4. required List<FinancialConnectionAccount> accounts,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory FinancialConnectionSession({
  /// Unique id for this session
  required String id,

  /// The client secret of the session
  required String clientSecret,

  /// When `true` the object exists in livemode and when false the object exists in test mode.
  required bool livemode,

  /// The accounts that were collected as part of this session
  required List<FinancialConnectionAccount> accounts,
}) = _FinancialConnectionSession;