decode static method
Implementation
static RecordConfig decode(Object result) {
result as List<Object?>;
return RecordConfig(
accId: result[0]! as String,
callType: CallType.values[result[1]! as int],
callState: NIMRtcCallStatus.values[result[2]! as int],
);
}