getMetadataSchema static method
Implementation
static getMetadataSchema(List<dynamic> list) {
if (list.isEmpty) {
return List<PassageAppUserMetadataSchema>.empty();
}
return list
.map((item) => kIsWeb
? PassageAppUserMetadataSchema.fromJson(item)
: PassageAppUserMetadataSchema.fromMap(item))
.toList();
}