toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'environment': environment.toJson(),
    'allowedCards': allowedCards.map((item) => item.toJson()).toList(),
    'supportedMethods':
        supportedMethods.map((item) => item.toJson()).toList(),
  };
}