NotificationEventRequest.fromJson constructor
NotificationEventRequest.fromJson(
- Object? json
Implementation
factory NotificationEventRequest.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return NotificationEventRequest(
id: map['id'] == null ? null : (map['id'] as String),
idempotencyKey: map['idempotency_key'] == null
? null
: (map['idempotency_key'] as String),
);
}