SetupIntentLink.fromJson constructor

SetupIntentLink.fromJson(
  1. Object? json
)

Implementation

factory SetupIntentLink.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SetupIntentLink(
      persistentToken: map['persistent_token'] == null
          ? null
          : (map['persistent_token'] as String));
}