fromDocument

fun fromDocument(document: DocumentSnapshot): MBook

Creates a MBook object from a DocumentSnapshot

Return

MBook the MBook created from the DocumentSnapshot

Parameters

document

DocumentSnapshot the document to create the MBook from

See also

DocumentSnapshot