CustomerSessionResourceComponentsResourceBuyButton.fromJson constructor

CustomerSessionResourceComponentsResourceBuyButton.fromJson(
  1. Object? json
)

Implementation

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