SetupIntentRequiresActionEvent.fromJson constructor

SetupIntentRequiresActionEvent.fromJson(
  1. Object? json
)

Implementation

factory SetupIntentRequiresActionEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SetupIntentRequiresActionEvent(
      object: SetupIntent.fromJson(map['object']));
}