JourneyLimits.fromJson constructor

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

Implementation

factory JourneyLimits.fromJson(Map<String, dynamic> json) {
  return JourneyLimits(
    dailyCap: json['DailyCap'] as int?,
    endpointReentryCap: json['EndpointReentryCap'] as int?,
    messagesPerSecond: json['MessagesPerSecond'] as int?,
  );
}