SourceDetail.fromJson constructor

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

Implementation

factory SourceDetail.fromJson(Map<String, dynamic> json) {
  return SourceDetail(
    eventSource: (json['EventSource'] as String?)?.toEventSource(),
    maximumExecutionFrequency: (json['MaximumExecutionFrequency'] as String?)
        ?.toMaximumExecutionFrequency(),
    messageType: (json['MessageType'] as String?)?.toMessageType(),
  );
}