decode static method

FlutterPartnerParams decode(
  1. Object result
)

Implementation

static FlutterPartnerParams decode(Object result) {
  result as List<Object?>;
  return FlutterPartnerParams(
    jobType: result[0] != null
        ? FlutterJobType.values[result[0]! as int]
        : null,
    jobId: result[1]! as String,
    userId: result[2]! as String,
    extras: (result[3] as Map<Object?, Object?>?)?.cast<String?, String?>(),
  );
}