AccountLinkCollectionOptions.fromJson constructor

AccountLinkCollectionOptions.fromJson(
  1. Object? json
)

Implementation

factory AccountLinkCollectionOptions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountLinkCollectionOptions(
    fields: AccountLinkCollect.fromJson(map['fields']),
    futureRequirements: map['future_requirements'] == null
        ? null
        : AccountLinkFutureRequirements.fromJson(map['future_requirements']),
  );
}