VaultNotificationConfig.fromJson constructor

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

Implementation

factory VaultNotificationConfig.fromJson(Map<String, dynamic> json) {
  return VaultNotificationConfig(
    events: (json['Events'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    sNSTopic: json['SNSTopic'] as String?,
  );
}