decode static method

CustomColorTheme decode(
  1. Object result
)

Implementation

static CustomColorTheme decode(Object result) {
  result as List<Object?>;
  return CustomColorTheme(
    themeColor: result[0] as String?,
    textColor: result[1] as String?,
    backgroundColor: result[2] as String?,
    tileColor: result[3] as String?,
    buttonMainColor: result[4] as String?,
    buttonSecondaryColor: result[5] as String?,
  );
}