GetNotificationResult.fromMap constructor
GetNotificationResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNotificationResult.fromMap(Map<String, dynamic> map) {
return GetNotificationResult(
customAttributes: (map['customAttributes'] as Map).cast<String, String>(),
etag: map['etag'] as String,
eventTypes: (map['eventTypes'] as List).cast<String>(),
kind: map['kind'] as String,
objectNamePrefix: map['objectNamePrefix'] as String,
payloadFormat: map['payloadFormat'] as String,
selfLink: map['selfLink'] as String,
topic: map['topic'] as String,
);
}