Directory.fromJson constructor
Implementation
factory Directory.fromJson(Map<String, dynamic> json) {
return Directory(
creationDateTime: timeStampFromJson(json['CreationDateTime']),
directoryArn: json['DirectoryArn'] as String?,
name: json['Name'] as String?,
state: (json['State'] as String?)?.toDirectoryState(),
);
}