FeeEndpointInfo.fromJson constructor

FeeEndpointInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FeeEndpointInfo.fromJson(Map<String, dynamic> json) {
  bool? auth = json['authentication_required'];
  return FeeEndpointInfo(json['enabled'], auth != null ? auth : false);
}