Destination.fromJson constructor

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

Implementation

factory Destination.fromJson(Map<String, dynamic> json) {
  return Destination(
    accessPolicy: json['accessPolicy'] as String?,
    arn: json['arn'] as String?,
    creationTime: json['creationTime'] as int?,
    destinationName: json['destinationName'] as String?,
    roleArn: json['roleArn'] as String?,
    targetArn: json['targetArn'] as String?,
  );
}