ReplayDestination.fromJson constructor

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

Implementation

factory ReplayDestination.fromJson(Map<String, dynamic> json) {
  return ReplayDestination(
    arn: json['Arn'] as String,
    filterArns: (json['FilterArns'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}