decode static method

Property decode(
  1. Object result
)

Implementation

static Property decode(Object result) {
  result as List<Object?>;
  return Property(
    id: result[0] as int?,
    type: result[1] as int?,
    stringValue: result[2] as String?,
    longValue: result[3] as int?,
    arrayValue: result[4] as List<Object?>?,
    byteValue: result[5] as int?,
    dataSourceValue: result[6] != null
        ? DataSourceIos.decode(result[6]! as List<Object?>)
        : null,
    versionValue: result[7] != null
        ? Version.decode(result[7]! as List<Object?>)
        : null,
    objectValue: result[8],
  );
}