• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.airbnb.lottie.samples.model
2 
3 import android.os.Parcelable
4 import com.airbnb.lottie.samples.utils.toColorIntSafe
5 import kotlinx.parcelize.Parcelize
6 
7 @Parcelize
8 data class AnimationData(
9     val id: Long,
10     val title: String,
11     val description: String?,
12     private val bgColor: String?,
13     val preview: String?,
14     val lottieLink: String,
15     val userInfo: UserInfo?
16 ) : Parcelable {
17     val bgColorInt get() = bgColor.toColorIntSafe()
18 }