fromJsonEncoded method

  1. @override
O fromJsonEncoded(
  1. String jsonEncoded
)
override

Returns a class instance from jsonEncoded.

Implementation

@override
O fromJsonEncoded(String jsonEncoded) {
  return JsonDecoder.defaultDecoder
      .decode<O>(jsonEncoded, type: classType, duplicatedEntitiesAsID: true);
}