toggle menu
ZappBase
androidJvm
switch theme
search in API
Core-Gms
/
com.zappstudio.zappbase.gms.data.mapper
/
IMapperFirebase
IMapper
Firebase
interface
IMapperFirebase
<
Entity
,
Model
>
:
IMapper
<
Entity
,
Model
>
Members
Functions
get
Class
Entity
Link copied to clipboard
abstract
fun
getClassEntity
(
)
:
Class
<
Entity
>
to
Entity
Link copied to clipboard
open
fun
toEntity
(
model
:
Model
)
:
Entity
open
fun
toEntity
(
data
:
DataSnapshot
)
:
Entity
to
Entity
List
Link copied to clipboard
open
fun
toEntityList
(
dataSnapshot
:
DataSnapshot
)
:
MutableList
<
Entity
>
to
List
Entity
Link copied to clipboard
open
fun
toListEntity
(
entities
:
MutableList
<
Model
>
)
:
MutableList
<
Entity
>
to
List
Model
Link copied to clipboard
open
fun
toListModel
(
entities
:
MutableList
<
Entity
>
)
:
MutableList
<
Model
>
to
Model
Link copied to clipboard
abstract
fun
toModel
(
entity
:
Entity
)
:
Model
open
fun
toModel
(
dat
:
DataSnapshot
)
:
Model
to
Model
List
Link copied to clipboard
open
fun
toModelList
(
dataSnapshot
:
DataSnapshot
)
:
MutableList
<
Model
>