fromJson<O> method
O?
fromJson<O>(})
Converts o to type.
Implementation
O? fromJson<O>(
Object? o, {
Type? type,
TypeInfo? typeInfo,
bool duplicatedEntitiesAsID = false,
bool? autoResetEntityCache,
}) {
return decoder.fromJson<O>(
o,
type: type,
typeInfo: typeInfo,
duplicatedEntitiesAsID: duplicatedEntitiesAsID,
autoResetEntityCache: autoResetEntityCache,
);
}