OneDriveUsers.fromJson constructor

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

Implementation

factory OneDriveUsers.fromJson(Map<String, dynamic> json) {
  return OneDriveUsers(
    oneDriveUserList: (json['OneDriveUserList'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    oneDriveUserS3Path: json['OneDriveUserS3Path'] != null
        ? S3Path.fromJson(json['OneDriveUserS3Path'] as Map<String, dynamic>)
        : null,
  );
}