FinancialConnectionsAccountOwnership.fromJson constructor

FinancialConnectionsAccountOwnership.fromJson(
  1. Object? json
)

Implementation

factory FinancialConnectionsAccountOwnership.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return FinancialConnectionsAccountOwnership(
    created:
        DateTime.fromMillisecondsSinceEpoch((map['created'] as int).toInt()),
    id: (map['id'] as String),
    owners:
        FinancialConnectionsAccountOwnershipOwners.fromJson(map['owners']),
  );
}