decode static method

AttributionSettings decode(
  1. Object result
)

Implementation

static AttributionSettings decode(Object result) {
  result as List<Object?>;
  return AttributionSettings(
    iconColor: result[0] as int?,
    position:
        result[1] != null ? OrnamentPosition.values[result[1]! as int] : null,
    marginLeft: result[2] as double?,
    marginTop: result[3] as double?,
    marginRight: result[4] as double?,
    marginBottom: result[5] as double?,
    clickable: result[6] as bool?,
  );
}