SharedDirectory.fromJson constructor
SharedDirectory.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SharedDirectory.fromJson(Map<String, dynamic> json) {
return SharedDirectory(
createdDateTime: timeStampFromJson(json['CreatedDateTime']),
lastUpdatedDateTime: timeStampFromJson(json['LastUpdatedDateTime']),
ownerAccountId: json['OwnerAccountId'] as String?,
ownerDirectoryId: json['OwnerDirectoryId'] as String?,
shareMethod: (json['ShareMethod'] as String?)?.toShareMethod(),
shareNotes: json['ShareNotes'] as String?,
shareStatus: (json['ShareStatus'] as String?)?.toShareStatus(),
sharedAccountId: json['SharedAccountId'] as String?,
sharedDirectoryId: json['SharedDirectoryId'] as String?,
);
}