FutureCallEntry.fromJson constructor

FutureCallEntry.fromJson(
  1. Map<String, dynamic> jsonSerialization,
  2. SerializationManager serializationManager
)

Implementation

factory FutureCallEntry.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return FutureCallEntry(
    id: serializationManager.deserialize<int?>(jsonSerialization['id']),
    name: serializationManager.deserialize<String>(jsonSerialization['name']),
    time:
        serializationManager.deserialize<DateTime>(jsonSerialization['time']),
    serializedObject: serializationManager
        .deserialize<String?>(jsonSerialization['serializedObject']),
    serverId: serializationManager
        .deserialize<String>(jsonSerialization['serverId']),
    identifier: serializationManager
        .deserialize<String?>(jsonSerialization['identifier']),
  );
}