contributor nme

mail@pastecode.io avatar
unknown
dart
2 years ago
680 B
1
Indexable
Never
    contributorName = book.authors!.isEmpty
        ? 'احمد زكي'
        : context.locale == const Locale('ar')
            ? book.authors!.first.fullNameDecode!.first.firstNameAr! +
                ' ' +
                book.authors!.first.fullNameDecode!.last.lastNameAr!
            : context.locale == const Locale('en')
                ? book.authors!.first.fullNameDecode!.first.firstNameEn! +
                    ' ' +
                    book.authors!.first.fullNameDecode!.last.lastNameEn!
                : book.authors!.first.fullNameDecode!.first.firstNameHe! +
                    ' ' +
                    book.authors!.first.fullNameDecode!.last.lastNameHe!;