CreateDiscovererResponse.fromJson constructor

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

Implementation

factory CreateDiscovererResponse.fromJson(Map<String, dynamic> json) {
  return CreateDiscovererResponse(
    description: json['Description'] as String?,
    discovererArn: json['DiscovererArn'] as String?,
    discovererId: json['DiscovererId'] as String?,
    sourceArn: json['SourceArn'] as String?,
    state: (json['State'] as String?)?.toDiscovererState(),
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}