encode method

Object? encode(
  1. dynamic value
)

Convert value to a primitive value.

Implementation

Object? encode(value) {
  return value;
}