GoogleRefreshToken.fromJson constructor

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

Implementation

factory GoogleRefreshToken.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return GoogleRefreshToken(
    id: serializationManager.deserialize<int?>(jsonSerialization['id']),
    userId:
        serializationManager.deserialize<int>(jsonSerialization['userId']),
    refreshToken: serializationManager
        .deserialize<String>(jsonSerialization['refreshToken']),
  );
}